package com.zhongwang.mms.module.half.dao;

import com.zhongwang.mms.gen.entity.HImportMarkError;
import com.zhongwang.mms.gen.entity.HImportMarkErrorExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface HImportMarkErrorDao {
    long countByExample(HImportMarkErrorExample example);

    int deleteByExample(HImportMarkErrorExample example);

    int deleteByPrimaryKey(Integer imeId);

    int insert(HImportMarkError record);

    int insertSelective(HImportMarkError record);

    List<HImportMarkError> selectByExample(HImportMarkErrorExample example);

    HImportMarkError selectByPrimaryKey(Integer imeId);

    int updateByExampleSelective(@Param("record") HImportMarkError record, @Param("example") HImportMarkErrorExample example);

    int updateByExample(@Param("record") HImportMarkError record, @Param("example") HImportMarkErrorExample example);

    int updateByPrimaryKeySelective(HImportMarkError record);

    int updateByPrimaryKey(HImportMarkError record);

    /**根据用户ID删除导入错误信息数据*/
    int deleteHImportMarkErrorByUserId(Integer userId);
}